#ifndef _CALLBACKS_
#define _CALLBACKS_

#include "struct.h"

#define MAX_LENGHT   50

void on_change_pawns(GtkWidget* widget, GdkEventButton *event,  Case grille[6][6]);
void on_change_background(GtkWidget* widget, GdkEventButton *event, gpointer data);
void on_change_level(GtkWidget* widget, GdkEventButton *event, gpointer data);
void on_about(GtkWidget* widget, GdkEventButton *event, gpointer data);
void on_rules(GtkWidget* widget, GdkEventButton *event, gpointer data);
void on_quit(GtkWidget* widget, GdkEventButton *event, gpointer data);

void on_press_square(GtkWidget* widget, GdkEventButton *event,  int *coord);

void on_ivy_send(GtkWidget* widget, gpointer coord);
void on_ivy_test(IvyClientPtr app, void *grille, int argc, char *argv[]);

#endif